﻿namespace EFS.Common.Serialization
{
	/// <summary>
	/// Self descriptor
	/// </summary>
	public interface ISerializable
	{
		/// <summary>
		/// Serialize
		/// </summary>
		/// <param name="xmlWriter"></param>
		void Serialize(EFS.Common.Serialization.XmlWriter xmlWriter);
		
		/// <summary>
		/// Deserialize
		/// </summary>
		/// <param name="xmlReader"></param>
		void Deserialize(EFS.Common.Serialization.XmlReader xmlReader);
	}
}
